package kola.events
{
	import flash.events.Event;
	
	public class PeerNetworkEvent extends Event
	{
		public static const PEER_CONNECTION_STATUS_CHANGED:String = "connectStatusChanged";
		public static const PEER_CONNECT_SUCCESS:String = "peerConnectSuccess";
		public static const PEER_GROUP_CONNECT_SUCCESS:String = "peerGroupConnectSuccess";
		public static const PEER_GROUP_MSG_RECEIVED:String = "peerGroupMsgReceived";
		
		public var data:Object;
		public function PeerNetworkEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event
		{
			return new PeerNetworkEvent(type, bubbles, cancelable);
		}
	}
}